package com.LFLWZ.mapper;

import com.LFLWZ.beans.POJO.LikeRecord;
import com.LFLWZ.beans.Vo.addLike;

import java.util.List;

public interface likeAndWorksMapper {

    /**
     * 用户点赞记录新增
     *
     * @param //uid      用户id
     * @param //courseId 课程记录id
     * @return
     */
    int addLike(addLike addLike);

    /**
     * 查询用户点赞记录
     *
     * @param //uid
     * @return
     */
    List<LikeRecord> selLike(LikeRecord likeRecord);

    /**
     * 用户点赞记录删除
     *
     * @param //id
     * @return
     */
    int deLike(LikeRecord likeRecord);
}
